/** @type {import('tailwindcss').Config} */
module.exports = {
  mode: 'jit', // 重新启用 JIT 模式
  content: [
    './src/pages/**/*.tsx',
    './src/components/**/*.tsx',
    './src/layouts/**/*.tsx',
  ],
  theme: {
    extend: {
      colors: {
        primary: '#1677ff',
        success: '#52c41a',
        warning: '#faad14',
        error: '#f5222d',
      },
    },
  },
  plugins: [],
  corePlugins: {
    preflight: false, // 禁用预设样式，以避免与antd冲突
  },
}; 